<div class="header">
    <div class="H-inner layout-width ">
        <div class="logo"><a href="{{mainUrl}}home">
            <svg version="1.1" id="图层_1" x="0px" y="0px" font-style="#f00" icon-color="#fff"
	 viewBox="0 0 218 68.1" style="enable-background:new 0 0 218 68.1;" xml:space="preserve">
<g>
	<path fill="#FFF" d="M14.6,47.4H0V12.1h14.5v4.7H5.3v10.3h7.9v4.6H5.3v11.1h9.4V47.4z"/>
	<path fill="#FFF" d="M34.1,44.2c0,2.1-1.1,3.2-3.2,3.2h-11c-2.1,0-3.1-1.1-3.1-3.2V15.4c0-2.2,1-3.2,3.1-3.2h11c2.2,0,3.2,1.1,3.2,3.2v8.3h-5.3
		v-7H22v26.2h6.8v-7.4h5.3V44.2z"/>
	<path fill="#FFF" d="M54.5,44.2c0,2.1-1.1,3.2-3.2,3.2H39.9c-2.1,0-3.1-1.1-3.1-3.2V15.4c0-2.2,1-3.2,3.1-3.2h11.5c2.1,0,3.2,1.1,3.2,3.2V44.2z
		 M49.3,42.9V16.7H42v26.2H49.3z"/>
	<path fill="#FFF" d="M74.3,43.6c0,2.2-1.1,3.3-3.2,3.3h-8.5v15h-5.3V12.1h13.8c2.2,0,3.2,1.1,3.2,3.2V43.6z M69,42.4V16.7h-6.4v25.7H69z"/>
	<path fill="#FFF" d="M94.2,47.4h-5.5L82.9,31v-3.2h5.2V16.7h-6.7v30.8h-5.3V12.1h14c2.1,0,3.2,1.1,3.2,3.2v12.8c0,1.5-0.5,2.4-1.5,2.9
		c-0.5,0.2-1.7,0.3-3.4,0.3L94.2,47.4z"/>
	<path fill="#FFF" d="M113,44.2c0,2.1-1.1,3.2-3.2,3.2H98.3c-2.1,0-3.1-1.1-3.1-3.2V15.4c0-2.2,1-3.2,3.1-3.2h11.5c2.1,0,3.2,1.1,3.2,3.2V44.2z
		 M107.7,42.9V16.7h-7.2v26.2H107.7z"/>
	<g>
		<g>
			<path fill="#FFF" d="M0.6,61v-0.9h1.8v-6.7h7.8v6.7H12V61H0.6z M0.9,53.1V51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c-1.1-0.2-2.4-0.4-3.4-0.4
		c-0.1-0.4-0.4-0.6-0.8-0.6c-0.5,0-0.8,0.4-0.8,0.8c0,0.5,0.4,0.8,0.8,0.8c0.2,0,0.4-0.1,0.5-0.2c0.6,0.1,1.8,0.4,3.3,0.7
		c1.7,0.5,3.8,1.1,5.7,1.9c-3.7-1-7.9-1.1-11.6-0.6c-0.2-0.2-0.4-0.3-0.7-0.3c-0.6,0-1.1,0.5-1.1,1.1c0,0.6,0.5,1.1,1.1,1.1
		c0.3,0,0.5-0.1,0.7-0.3c2.2-0.6,4.6,0,6.5,1.1c-0.7,1.9-3.1,2.1-4.8,2.6c-1,0.7-3.1-0.7-2.8,1.4c0.2,0.6,0.7,1,1.4,0.8
		c2.9-1.8,6.7-1.5,10.2-1.8c2.2,2.3-2.7,2.3-3,4.2c-0.3,0.8,0.7,1.1,1.3,1c0.7-0.2,0.8-0.9,1-1.4c3.8-2.5,7.8-4.7,11.8-6.6v-1.3
		c-2.2-1.9-5.3-2-7.2-4.4c2.9,0.4,5.6,2.7,8.7,3c0.3,0,0.8-0.3,0.6-0.8C156.3,54.9,150.3,48.9,145.9,42.9"/>
	<path fill="#FFF" d="M141.4,15.5c0.3-0.8,0.6-1.4,0.8-1.8c-1.4,0-2.6,1.3-2.6,2.9c0,1.1,0.4,2,1.1,2.7c0.1-1,0.2-1.8,0.4-2.6
		c-0.2,0.1-0.4,0-0.6-0.2c-0.3-0.3-0.2-0.7,0-1C140.7,15.2,141.1,15.2,141.4,15.5"/>
</g>
</svg>
        </a></div>
        <ul class="menu-list" id="nav-active">
            <li class="item-one" name="首页"><a href="{{mainUrl}}">首页</a></li>
            <li class="item-one " name="case">
                <a href="JavaScript:void(0)">解决方案</a>
                <div class="tree-menu">
                    <ul class="layout-width">
                        <!--<li><a href="{{mainUrl}}case/inspection">作物健康全程解决方案</a></li>-->
                        <li style="width: 220px;"><a href="{{mainUrl}}case/wzb"><span>微植保-专业病虫害防治</span></a><i class="line1"></i></li>
                        <li style="width: 220px;"><a href="{{mainUrl}}case/wjb"><span>微秸宝-堆制高效有机肥</span></a><i class="line1"></i></li>
                        <li style="width: 220px;"><a href="{{mainUrl}}case/modelArea"><span>有机示范县（区）创建</span></a><i class="line1"></i></li>
                        <li style="width: 180px;"><a href="{{mainUrl}}case/inspection" ><span style="border-right: 0;">农药监管平台</span></a></li>
                    </ul>
                </div>
            </li>
            <li class="item-one" name="trp"><a href="{{mainUrl}}trp/list?id=0">投入品</a></li>
            <li class="item-one" name="technology"><a href="{{mainUrl}}technology">技术支持</a></li>
            <!--<li class="item-one"><a href="">企业动态</a></li>-->
            <li class="item-one" name="about">
                <a href="JavaScript:void(0)">关于我们</a>
                <div class="tree-menu1">
                    <ul class="layout-width">
                        <li style="width: 132px;"><a href="{{mainUrl}}about/contact" ><span style="border-right: 0;">联系我们</span></a></li>
                        <li style="width: 132px;"><a href="{{mainUrl}}about/joinus"><span>加入我们</span></a><i class="line1"></i></li>
                        <li style="width: 132px;"><a href="{{mainUrl}}about/introduction"><span >企业介绍</span></a><i class="line1"></i></li>
                    </ul>
                </div>
            </li>
        </ul>
    </div>
</div>


<script>
    $(function(){
        $('#nav-active .item-one').mouseover(function(){
            $(this).addClass('active').siblings().removeClass('active')
        });
        $('#nav-active .item-one').mouseleave(function(){
            $(this).removeClass('active')
        });

        var hostmain = location.pathname.split("/");

        var hostFirstName = hostmain[2]   //2
//        var hostSecondName = hostmain[3]   //3
//         console.log(hostmain)
        var firstM = $('#nav-active').find('li');
//        var secondM = $('#main-menu').find('#PClass li');

        //    一级导航focus
        firstM.each(function () {
//            console.log($(this).attr('name'))
            if (hostFirstName == $(this).attr('name')) {
                $(this).addClass('cur').siblings().removeClass('cur');
            }
        })

    })

</script>